package com.zxz.jvm;

/**
 * VM Args: -Xss2M
 * 栈内存2M
 */
public class JavaStackOOM {
    public static void main(String[] args) {
        while (true){
            new Thread(()->{
                while (true){

                }
            }).start();
        }
    }
}
